package com.bird.设计原则.里氏替换原则;

/**
 * @data 2022/1/25 22:54
 * @author: bird
 * @description: 定义一个长方形
 */
public class Rectangle {

    // 长
    private long length;
    // 宽
    private long width;

    public long getLength() {
        return length;
    }

    public void setLength(long length) {
        this.length = length;
    }

    public long getWidth() {
        return width;
    }

    public void setWidth(long width) {
        this.width = width;
    }
}
